import React, { Component } from 'react'
import { NavLink } from 'react-router-dom'

import styled from 'styled-components'

export default class componentName extends Component {
  render() {
    return (
      <NavBar>
        <NavLink to="/dmallHome/deliveryHome">首页</NavLink>
        <NavLink to="/dmallHome/myCart">购物车</NavLink>
      </NavBar>
    )
  }
}

const NavBar = styled.div`
  width: 100%;
  height: 45px;
  display:flex;
  position: fixed;
  left:0;
  bottom: 0;
  background: #eee;
  a {
    flex:1;
    display:flex;
    justify-content:center;
    align-item: center;
  }
`;
